package bscorp.appbase.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 设备表
 */
@DatabaseTable
public class Device implements Serializable {
    @DatabaseField(generatedId = true)
    int id;
    /**
     * 设备名称
     */
    @DatabaseField
    String name;
    /**
     * 设备编号
     */
    @DatabaseField
    String code;
    /**
     * 使用部门
     */
    @DatabaseField
    String department;
    /**
     * 设备位置
     */
    @DatabaseField
    String location;
    /**
     * 生产商
     */
    @DatabaseField
    String manufacturer;
    /**
     * 供应商
     */
    @DatabaseField
    String supplier;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }
}